package com.hyf.configServer;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableDiscoveryClient
@SpringBootApplication
@EnableConfigServer
class ConfigServer {
        public static void main(String[] args){
            new SpringApplicationBuilder(ConfigServer.class).web(true).run(args);
        }
}
